﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebClient.Helpers
{
    #region Using
    using System.ServiceModel;
    using WebClient.CF_DAL_WS;
    #endregion

    public class DALService
    {
        private static ICF_DAL_Service _svc = null;

        static DALService()
        {
            _svc = new ChannelFactory<ICF_DAL_Service>("BasicHttpBinding_ICF_DAL_Service").CreateChannel();
        }

        public static ICF_DAL_Service Instance
        {
            get { return _svc; }
        }
    }
}
